* {
  margin: 0;
  padding: 0;
}

.clear_fix::after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

header {
  width: 1332px;
  height: 81px;
  margin: 0 auto;
  .img {
    width: 666px;
    height: 81px;
    margin-left: 333px;
    position: relative;
    float: left;
    img {
      width: 170px;
      height: 30px;
      position: absolute;
      left: 50%;
      top: 50%;
      margin-left: -85px;
      margin-top: -15px;
    }
  }
  .login {
    float: left;
    width: 333px;
    height: 81px;
    div {
      width: 303px;
      height: 52px;
      padding: 0 15px;
      margin-left: 30px;
      .loginbtn {
        float: left;
        margin-top: 34px;
        font-size: 12px;
        cursor: pointer;
        margin-left: 50px;
        margin-right: 20px;
      }
      .iconfont{
        font-size: 40px;
        float: left;
        margin-top: 11px;
        cursor: pointer;
      }
      em{
        float: left;
        display: block;
        width: 18px;
        height: 18px;
        font-style: normal;
        color: #FFFFFF;
        background-color: red;
        text-align: center;
        line-height: 18px;
        font-size: 12px;
        margin-top: 20px;
        border-radius: 50%;
        margin-left: -18px;
        cursor: pointer;
      }
    }
  }
}

.navigator {
  width: 100%;
  height: 51px;
  margin: 0 auto;
  .nav {
    float: left;
    width: 100%;
    height: 51px;
    padding-top: 4px;
    ul {
      list-style: none;
      width: 252px;
      height: 51px;
      margin: 0 auto;
      > li {
        float: left;
        font-size: 12px;
        margin: 0 15px;
        text-align: center;
        position: relative;
        height: 100%;
        &:hover .ol {
          display: block;
          z-index: 4;
        }
        &:nth-child(2) {
          .ol {
            margin-left: -618px;
          }
        }
        &:nth-child(3) {
          .ol {
            margin-left: -678px;
          }
        }
        .ol {
          position: absolute;
          margin-top: 34px;
          margin-left: -568px;
          width: 1360px;
          height: 371px;
          padding-top: 20px;
          padding-left: 40px;
          padding-right: 40px;
          border-top: 1px solid #ececec;
          display: none;
          background-color: white;
          > div {
            width: 25%;
            height: 100%;
            float: left;
            text-align: left;
            margin: 0;
            em {
              font-style: normal;
              font-weight: bolder;
            }
            ul {
              height: 300px;
              margin-left: 0;
              margin-top: 8px;
              li {
                height: 30px;
                text-align: left;
                margin: 0;
                float: none;
                font-size: 13px;
                color: #333333;
                font-weight: 100;
                cursor: pointer;
                &:hover {
                  list-style: initial;
                }
              }
            }
          }
        }
      }
    }
  }
}

main {
  width: 100%;
  margin: 0 auto;
  .banner {
    margin-top: 5px;
    .swiper-container {
      width: 100%;
      height: 500px;
    }
  }
  .show1 {
    height: 492px;
    margin-top: 120px;
    .left {
      width: 50%;
      height: 492px;
      float: left;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      h2 {
        height: 30px;
        margin: 10px 0 30px;
        font-size: 28px;
        text-align: center;
      }
      span {
        display: block;
        width: 463px;
        height: 50px;
        font-size: 18px;
        margin: 0 auto 30px;
        font-weight: 200;
      }
      a {
        display: block;
        width: 100px;
        height: 40px;
        // padding: 10.5px 25px;
        text-align: center;
        background-color: black;
        line-height: 40px;
        color: #ffffff;
        margin: 0 auto;
        font-size: 12px;
        text-decoration: none;
        outline: none;
        &:hover {
          color: #000000;
          background-color: #dddddd;
        }
      }
    }
    .right {
      width: 50%;
      height: 492px;
      float: left;
      position: relative;
      img {
        &:nth-child(1) {
          width: 534px;
          height: 447px;
          margin: 0 auto;
          position: absolute;
          left: 50%;
          margin-left: -267px;
        }
        &:nth-child(2) {
          width: 214px;
          height: 290px;
          position: absolute;
          left: 0;
          bottom: -80px;
          display: block;
        }
      }
    }
  }
  .show2 {
    height: 491px;
    margin-top: 120px;
    .left {
      float: left;
      width: 50%;
      height: 490px;
      position: relative;
      img {
        &:nth-child(1) {
          width: 392px;
          height: 490px;
          margin: 0 auto;
          position: absolute;
          left: 50%;
          margin-left: -196px;
        }
        &:nth-child(2) {
          width: 107px;
          height: 325px;
          position: absolute;
          right: 110px;
          bottom: -80px;
          display: block;
        }
      }
    }
    .right {
      float: left;
      width: 50%;
      height: 490px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      h2 {
        height: 30px;
        margin: 10px 0 30px;
        font-size: 28px;
        text-align: center;
      }
      span {
        display: block;
        width: 463px;
        height: 50px;
        font-size: 18px;
        margin: 0 auto 30px;
        font-weight: 200;
      }
      a {
        display: block;
        width: 100px;
        height: 40px;
        text-align: center;
        background-color: black;
        line-height: 40px;
        color: #ffffff;
        margin: 0 auto;
        font-size: 12px;
        text-decoration: none;
        outline: none;
        &:hover {
          color: #000000;
          background-color: #dddddd;
        }
      }
    }
  }
}

.goodslist{
    margin-top: 120px;
    height: auto;
    h2{
        width: 100%;
        height: 30px;
        margin-bottom: 20px;
        text-align: center;
    }
    > p{
        width: 712px;
        height: 25px;
        margin: 0 auto 50px;
        text-align: center;
        font-size: 18px;
        font-weight: 200;
    }
    ul{
        margin-bottom: 50px;
        li{
            &:nth-child(1){
                margin-left: 160px;
            }
        }
    }
    .button{
        width: 100%;
        height: 40px;
        button{
            display: block;
            height: 40px;
            width: 120px;
            float: right;
            background-color: #000000;
            color: #FFFFFF;
            margin-right: 10px;
            margin-top: -20px;
            outline: none;
        }
    }
    ol{
        list-style: none;
        width: 1332px;
        margin: 0 auto;
        height: auto;
        cursor: pointer;
        li{
            float: left;
            width: 50%;
            height: 210px;
            margin: 0 -2px 60px;
            padding: 0 15px;
            img{
                width: 210px;
                height: 210px;
                margin: 0 39px;
                float: left;
                cursor: pointer;
            }
            .textbox{
                width: 288px;
                height: 157px;
                float: left;
                margin: 0 15px;
                margin-top: 52px;
                a{
                    font-size: 17px;
                    height: 24px;
                    color: #000000;
                    text-decoration: none;
                    cursor: pointer;
                }
                span{
                    display: block;
                    font-size: 15px;
                    height: 17px;
                    font-weight: 100;
                    margin-bottom: 25px;
                    cursor: pointer;
                }
                .discontent{
                    height: 15px;
                    color: #FFFFFF;
                    background-color: #000000;
                    font-size: 12px;
                    text-align: center;
                    line-height: 15px;
                    font-style: normal;
                    padding: 0 4px;
                }
                p{
                    height: 12px;
                    width: 100%;
                    margin-bottom: 20px;
                    margin-top: 6px;
                    font-size: 12px;
                    text-align: left;
                    color: #000000;
                }
                button{
                    width: 100px;
                    height: 40px;
                    color: #FFFFFF;
                    background-color: #000000;
                    outline: none;
                    &:hover {
                        color: #000000;
                        background-color: #dddddd;
                    }
                }
            }
        }
    }
}

footer{
    border-top: 1px solid #e6e6e6;;
    ul{
        height: 194px;
        padding: 50px 0;
        display: flex;
        list-style: none;
        color: #000000;
        li {
            float: left;
            flex: 1;
            h3{
                font-size: 17px;
                text-align: center;
            }
            p{
                font-size: 12px;
                width: 414px;
                margin: 0 auto;
                margin-bottom: 10px;
                text-align: center;
                font-weight: 200;
            }
            span{
                display: block;
                width: 76px;
                height: 40px;
                padding: 10.5px 25px;
                font-size: 12px;
                margin: 0 auto;
                background-color: #FFFFFF;
                border: 1px solid #dedede;
                cursor: pointer;
                &:hover{
                    background-color: #dddddd;
                }
            }
        }
    }
}
